package com.zy.dao;

import java.util.List;

import com.zy.entity.User;

public interface UserDao {//面向接口编程
	
	//根据用户名和密码查询用户
	public User getUser(String name,String pwd);
	
	//查询所有的用户
	public List<User> queryAll();
	

}
